Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactivity API: new store() API docs #56764

Merged
merged 9 commits into from
Dec 5, 2023

Conversation

luisherranz
Copy link
Member

What?

Update the Interactivity API docs to accommodate the changes introduced in:

Fixes #56640

Tracking Issues:

Why?

Because we merged that PR without a documentation update.

How?

By working on the API reference document.

I did this pretty fast, so I've probably missed some things. It needs a thorough review.

@luisherranz luisherranz added [Type] Developer Documentation Documentation for developers [Feature] Interactivity API API to add frontend interactivity to blocks. labels Dec 4, 2023
Copy link

github-actions bot commented Dec 5, 2023

Flaky tests detected in a60bd69.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7103564045
📝 Reported issues:

Copy link
Contributor

@SantosGuillamot SantosGuillamot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We made some changes and this looks great to me 🙂

@DAreRodz DAreRodz marked this pull request as ready for review December 5, 2023 16:49
@DAreRodz DAreRodz self-requested a review as a code owner December 5, 2023 16:49
@cbravobernal cbravobernal added the Backport to Gutenberg RC Pull request that needs to be backported to a Gutenberg release candidate (RC) label Dec 5, 2023
@cbravobernal cbravobernal added this to the Gutenberg 17.2 milestone Dec 5, 2023
@cbravobernal
Copy link
Contributor

@vcanales can we include this PR into 17.2?

Thanks in advance!

@DAreRodz DAreRodz merged commit 62b933e into trunk Dec 5, 2023
54 checks passed
@DAreRodz DAreRodz deleted the interactivity-api-new-store-api-docs branch December 5, 2023 17:02
vcanales pushed a commit that referenced this pull request Dec 5, 2023
* New store() API docs

* Update interactivity API diagram

* Small fixes to the docs

* Update interactivity docs assets

* Update `data-wp-interactive` in getting started

* Add docs for private stores

* Slightly improve `wp-class` example

* Clarify `store()` returns the same references

* Mention how to read props from other ns

---------

Co-authored-by: Mario Santos <[email protected]>
Co-authored-by: David Arenas <[email protected]>
@vcanales
Copy link
Member

vcanales commented Dec 5, 2023

Backported to 17.2 RC

@vcanales vcanales removed the Backport to Gutenberg RC Pull request that needs to be backported to a Gutenberg release candidate (RC) label Dec 5, 2023
cbravobernal pushed a commit that referenced this pull request Dec 7, 2023
* New store() API docs

* Update interactivity API diagram

* Small fixes to the docs

* Update interactivity docs assets

* Update `data-wp-interactive` in getting started

* Add docs for private stores

* Slightly improve `wp-class` example

* Clarify `store()` returns the same references

* Mention how to read props from other ns

---------

Co-authored-by: Mario Santos <[email protected]>
Co-authored-by: David Arenas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Interactivity API - New store() API
6 participants